Dereferencing a null pointer has undefined behavior, and it is particularly harmful if a reference is then bound to the result, because a reference
is assumed to refer to a valid object.
Noncompliant code example
void doSomething(A& a);
void f() {
A* a = nullptr;
// ...
doSomething(*a); // Noncompliant
}